package com.podium.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.podium.generator.entity.GeneratorTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 邵文泽
 * @description 代码生成数据库表
 * @date 2025/4/16 11:13
 */
@Mapper
public interface GeneratorTableMapper extends BaseMapper<GeneratorTable> {

    IPage<GeneratorTable> databaseTables(@Param("generatorTablePage") Page<GeneratorTable> generatorTablePage, @Param("tableName") String tableName);

    List<GeneratorTable> databaseTablesAll(@Param("tableNames") String[] tableNames);
}
